package com.lagou.dao;/**
 * Created by IntelliJ IDEA.
 * User: Yangdx.
 * Date: 2020/7/25.
 * Time: 8:21.
 * Tags: Code, we are serious.
 */

import com.lagou.model.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author
 * @create 2020-07-25 8:21
 **/
public interface AuthCodeDao extends JpaRepository<AuthCode, Integer> {

    public AuthCode findFirstByEmailOrderByIdDesc(String email);


}
